package cn.foreknow.dao;

import cn.foreknow.model.Food;

import java.util.List;

public interface FoodDao {

    public boolean save(Food food) throws Exception;

    public boolean delete(int foodId) throws Exception;

    public Food update(int foodId) throws Exception;

    public List<Object> getQueryAll(Food food) throws Exception;

    public Food getQueryById(Food food) throws Exception;
}
